package com.vipertrans.token;

public abstract class Token {
    
    public Object value;
    
    public int line;
    public int column;
    
     public Token(int line, int column) {
	 this.line =  line;
	 this.column = column;
     }
     
     public String toString()  {
	 StringBuilder stringBuilder =  new StringBuilder();
	 
	 stringBuilder.append("Line: {" + line + "}, ");
	 stringBuilder.append("Column: {" + column + "}, ");
	 stringBuilder.append("Value {" + value + "}, ");
	 stringBuilder.append("Class:{" + this.getClass().getName() + "}");
	 
	 return stringBuilder.toString();
     }
}
